package io.github.weiranyi.pojo;


import lombok.Data;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "product") // 当前实体类和数据的name = "products"对应
public class Product {
    @Id
    private Integer id;
    private String name;
    private double price;
    private String flag;
    private String goodsDesc;
    private String images;
    private long goodsStock;
    private String goodsType;
}
